export default [
    {
        path: '/login',
        name: '登录页',
        component: () =>
            import ('@/page/login'),
        hidden: true
    },
    {
        path: '/',
        name: '首页',
        redirect: '/index',
        hidden: true
    },
    {
        path: '/',
        hidden: true,
        component: () =>
            import ('@/page/layout'),
        children: [
            {
                path: 'index',
                component: () =>
                    import ('@/page/index'),
                hidden: true
            }
        ]
    },
    {
        path: '/404',
        name: '404',
        hidden: true,
        component: () =>
            import ('@/components/error-page/404'),
    },
    {
        path: '*',
        redirect: '/404',
        hidden: true
    }
]
